package com.project.template.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.template.entity.Comments;
import com.project.template.entity.Posts;

import java.util.List;
import java.util.Map;

public interface CommentsService extends IService<Comments> {
    Page<Comments> page(Map<String, Object> query, Integer pageNum, Integer pageSize);
     List<Comments> getCommentsByPostIds(List<Integer> postIds);
}